package com.hurried1y.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hurried1y.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2023-06-19 11:40:54
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User extends BaseEntity {
    //主键
    @TableId
    private Long userId;
    //用户名
    private String username;
    //密码
    private String password;
    //姓名
    private String name;
    //电话
    private String phone;
    //身份证号码
    private String identity;
    //创建时间
    private Date createTime;
    // 更新时间
    private Date updateTime;
    // 逻辑删除(0-未删除，1-已删除)
    @TableLogic
    private Integer isDelete;
}

